package com.ms.p2p.service;

import com.alibaba.dubbo.config.annotation.Reference;
import com.ms.p2p.provider.SettingProvider;
import org.springframework.stereotype.Service;

/**
 * Created by daimajia on 2015/4/22.
 */
@Service
public class SettingService {
    @Reference
    SettingProvider settingProvider;

    public String findValueByCode(String code){
        return settingProvider.findValueByCode(code);
    }
}
